From 87c9e227cb84b8c720a41bc228beeb1b6f9b09c4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 11 Jul 2016 15:18:34 -0400 Subject: [PATCH] Revert "tests/libtest.sh: Print non-matching file on failure" This reverts commit 71301d18244a3a26a6ba6fd3934633ef94811a15. I was confused by the fact that the non-matching content was empty and forgot we already did print it. Reported-by: smcv Closes: #390 Approved by: jlebon --- tests/libtest.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/libtest.sh b/tests/libtest.sh index e93b9510..2d064299 100755 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -138,7 +138,6 @@ assert_file_has_content () { if ! grep -q -e "$2" "$1"; then sed -e 's/^/# /' < "$1" >&2 echo 1>&2 "File '$1' doesn't match regexp '$2'" - cat $1 exit 1 fi } -- 2.30.2